package com.chaodev.base.model.wenjuan;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * vcbase
 *
 * @author 95634
 * @描述
 * @date 2023/5/23 14:55
 **/
@ApiModel(value="题目", description="")
public class Question implements Serializable {
    private static final long serialVersionUID = 3766119612231855946L;
    @ApiModelProperty(value = "题目编号")
    private Integer id;

    @ApiModelProperty(value = "题目内容")
    private String questionName;

    @ApiModelProperty(value = "题目类型")
    private String questionType;

    @ApiModelProperty(value = "题目难度")
    private String questionLeave;

    @ApiModelProperty(value = "备注")
    private String dsc;

    @ApiModelProperty(value = "区号")
    private String areaCode;

    @ApiModelProperty(value = "试卷类型 1:单选,2:多选,3:判断,4:填空 ,5:简答")
    private String questionClass;

    @ApiModelProperty(value = "序号")
    private Integer questionOrder;

    @ApiModelProperty(value = "状态0:失效 1:有效")
    private Integer state;

    @ApiModelProperty(value = "创建人")
    private String createUser;

    @ApiModelProperty(value = "创建时间")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(locale="zh",timezone="GMT+8",pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "分数（弃用）")
    private Double score;

    private String questionKey;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getQuestionName() {
        return questionName;
    }

    public void setQuestionName(String questionName) {
        this.questionName = questionName;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public String getQuestionLeave() {
        return questionLeave;
    }

    public void setQuestionLeave(String questionLeave) {
        this.questionLeave = questionLeave;
    }

    public String getDsc() {
        return dsc;
    }

    public void setDsc(String dsc) {
        this.dsc = dsc;
    }

    public String getAreaCode() {
        return areaCode;
    }

    public void setAreaCode(String areaCode) {
        this.areaCode = areaCode;
    }

    public String getQuestionClass() {
        return questionClass;
    }

    public void setQuestionClass(String questionClass) {
        this.questionClass = questionClass;
    }

    public Integer getQuestionOrder() {
        return questionOrder;
    }

    public void setQuestionOrder(Integer questionOrder) {
        this.questionOrder = questionOrder;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Double getScore() {
        return score;
    }

    public void setScore(Double score) {
        this.score = score;
    }

    public String getQuestionKey() {
        return questionKey;
    }

    public void setQuestionKey(String questionKey) {
        this.questionKey = questionKey;
    }
}
